<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <base href="http://localhost/back/">

    <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="lib/layer/1.9.3/layer.js"></script>
    <script type="text/javascript" src="js/ajaxUtils.js" charset="utf-8"></script>

    <script>
        function next() {

            var name = $("#name").val();
            var param = new Object();
            param.name = name;
            post("http://localhost/auth/queryUser", param, function (resp) {

                    $("#showMsg").html(resp.msg);  //验证成功 在div块上显示html格式的msg信息

            });
        }
    </script>
</head>
<body>
输入账号:<input type="text" id="name" name="name" placeholder="用户名/邮箱/手机号"><br>
<input type="submit" value="下一步" onclick="next()">
<div id="showMsg"></div>
</body>
</html>